<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		
	</body>
</html>
<script>
	var teacher = {name:"李强",age:28,sex:"男"};
	var student={
		name:"王明",
		age:18,
		introduce:function(){
			document.write("hello,大家好！我的名字是叫"+this.name+".");
			
		}
	}
	document.write("学生姓名："+student.name+"，年龄："+student.age+"<br />");
	student.introduce();
</script>